//
//  HomeHotView.swift
//  ProjectApp
//
//  Created by 邹琳 on 2019/7/24.
//  Copyright © 2019 邹琳. All rights reserved.
//

import UIKit

class HomeHotView: UIView {

    @IBOutlet weak var headImageView: UIImageView!
    @IBOutlet weak var labelName: UILabel!
    @IBOutlet weak var labelNumber: UILabel!
    
    override func awakeFromNib() {
        super.awakeFromNib()
        
    }
    
    static func createFromNib() -> HomeHotView? {
        let topLevelArray = Bundle.main.loadNibNamed("HomeHotView", owner: self, options: nil)
        let views = Array(topLevelArray!).filter { $0 is HomeHotView }
        return views.last as? HomeHotView
    }
}
